﻿#ifndef SEARCHDIALOG_H
#define SEARCHDIALOG_H

#include <QDialog>
#include <QVBoxLayout>
#include <QLabel>
#include <QComboBox>
#include <QLineEdit>
#include <QPushButton>
#include <QHBoxLayout>

class SearchDialog : public QDialog
{
    Q_OBJECT

public:
    explicit SearchDialog(QWidget *parent = nullptr);

private:
    QVBoxLayout *mainLayout;
    QComboBox *categoryComboBox;  // Declare the QComboBox here
    QLineEdit *unitPriceInput;
    QPushButton *okButton;
    QPushButton *cancelButton;
};

#endif // SEARCHDIALOG_H
